<template>
  <div>
    <div id="main" style=" height: 400px"></div>
  </div>
</template>

<script>
import * as echarts from "echarts";
export default {
  mounted() {
    var myChart = echarts.init(document.getElementById("main"));
    this.$axios.get('reports/type/1')
    .then(res=>{
        console.log(res,123)
         myChart.setOption(res.data);
    })
   
  },


};





</script>

<style scoped>
</style>